//
//  ZCEssenceModel.m
//  百思不得姐
//
//  Created by Ning Xie on 16/8/28.
//  Copyright © 2016年 zhangchong. All rights reserved.
//

#import "ZCEssenceModel.h"

@implementation ZCEssenceModel


+(NSDictionary *)mj_replacedKeyFromPropertyName{
    
    return @{@"ID":@"id"};
}

-(NSString *)videoTIME{
    
    NSInteger time = self.videotime.integerValue;
    
    _videoTIME = [NSString stringWithFormat:@" %02ld:%02ld ",time/60,time%60];
    
    return _videoTIME;
}

-(NSString *)voiceTIME{
    
    NSInteger time = self.voicetime.integerValue;
    _voiceTIME = [NSString stringWithFormat:@" %02ld:%02ld ",time/60,time%60];
    return _voiceTIME;
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

@end
